import axios from './axios'

// 咨询工单
export const getWorkAskTransportList = (params) => {
  return axios({
    url: '/workAskTransport/list',
    method: 'get',
    params
  })
}

// 咨询工单日志
export const getWorkAskLogList = (params) => {
  return axios({
    url: '/workAskLog/list',
    method: 'get',
    params
  })
}

// 处理咨询工单
export const updateAsk = (data) => {
  return axios({
    url: '/workAskTransport/updateAsk',
    method: 'post',
    data
  })
}
